package com.example.mallDemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


@TableName("goods")
@Data
public class Goods {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String author;
//    @JsonFormat(pattern = "YYYY-MM-dd",timezone = "GMT+8")      //格式化上传时间
    private Integer price;
    private String priceUnit;
    private String property;
    private String number;
    private String fwq;
    private String img;
    private String address;
    private String bsProperty;
    private String blood;
    private String clazz;
}
